package cn.zhangxin.newyear.base.query;

import lombok.Data;

@Data
public class BaseQuery {
    //当前页面
    private Integer currentPage = 1;
    //页面条数
    private Integer pageSize = 10;
    //关键字查询
    private String keyword;

    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }
}
